package com.feizi.entity;

public class UserSelectEntity {
	private String username;//用户姓名
	private String sex;//用户性别
	private String administrator;//是否为管理员（0不是，1是）
	//设置分页参数
	private int page;
	private int limit;
	private int offset;//偏移量offset=（page-1）*limit
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getAdministrator() {
		return administrator;
	}
	public void setAdministrator(String administrator) {
		this.administrator = administrator;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getLimit() {
		return limit;
	}
	public void setLimit(int limit) {
		this.limit = limit;
	}
	public int getOffset() {
		return offset;
	}
	public void setOffset(int offset) {
		this.offset = offset;
	}
	public UserSelectEntity(String username, String sex, String administrator, int page, int limit,
			int offset) {
		super();
		this.username = username;
		this.sex = sex;
		this.administrator = administrator;
		this.page = page;
		this.limit = limit;
		this.offset = offset;
	}
	public UserSelectEntity() {
		super();
	}
	@Override
	public String toString() {
		return "UserSelectEntity [username=" + username + ", sex=" + sex + ", administrator="
				+ administrator + ", page=" + page + ", limit=" + limit + ", offset=" + offset + "]";
	}
	
	

}
